package com.duing.test;

import com.duing.entity.Fun;
import com.duing.service.FunService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class test {
    @Autowired
    private FunService service;

    @Test
    public void test(){
        List<Fun> fun = service.selectHierarchy();
        System.out.println(fun);
    }
}
